DevForce Help Reference
ConstructFromPrototype<AnonymousType,T1,T2,T3>(AnonymousType,T1,T2,T3) Method


Construct a single instance of an anonymous type given a prototype instances and a specified set of values
Syntax
'Declaration
 
Public Overloads Shared Function ConstructFromPrototype
    (Of AnonymousType,T1,T2,T3)( _
   ByVal protoType As AnonymousType, _
   ByVal value1 As T1, _
   ByVal value2 As T2, _
   ByVal value3 As T3 _
) As AnonymousType
'Usage
 
Dim protoType As AnonymousType
Dim value1 As T1
Dim value2 As T2
Dim value3 As T3
Dim value As AnonymousType
 
value = AnonymousFns.ConstructFromPrototype(Of AnonymousType, T1, T2, T3)(protoType, value1, value2, value3)
public static AnonymousType ConstructFromPrototype<AnonymousType,T1,T2,T3>( 
   AnonymousType protoType,
   T1 value1,
   T2 value2,
   T3 value3
)

Parameters

protoType
value1
value2
value3

Type Parameters

AnonymousType
T1
T2
T3
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnonymousFns Class
AnonymousFns Members
Overload List

Send Feedback